package canal.demo.po;

import lombok.Data;
import top.javatool.canal.client.annotation.CanalTable;

import javax.persistence.Column;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 每当监听一个数据库表格 canal传递表格变动的数据都是使用这个po
 * station-po
 * user_inf-po
 */
@Data
public class CanalStationPO {
    @Column(name="id")
    private Integer id;

    @Column(name="station_code")
    private String stationCode;

    @Column(name="station_name")
    private String stationName;

    @Column(name="device_number")
    private Integer deviceNumber;

    @Column(name="ac_gun_number")
    private Integer acGunNumber;

    @Column(name="dc_gun_number")
    private Integer dcGunNumber;

    @Column(name="ac_rate_power")
    private Integer acRatePower;

    @Column(name="dc_rate_power")
    private Integer dcRatePower;

    @Column(name="province")
    private String province;

    @Column(name="city")
    private String city;

    @Column(name="address")
    private String address;

    @Column(name="station_lng")
    private BigDecimal stationLng;

    @Column(name="station_lat")
    private BigDecimal stationLat;

    @Column(name="device_power")
    private Integer devicePower;

    @Column(name="station_model")
    private Integer stationModel;

    @Column(name="station_status")
    private Integer stationStatus;

    @Column(name="station_type")
    private Integer stationType;

    @Column(name="update_time")
    private Date updateTime;

    @Column(name="create_time")
    private Date createTime;

    @Column(name="operator_id")
    private Integer operatorId;

    @Column(name="park_fee")
    private BigDecimal parkFee;

    @Column(name="deleted")
    private Integer deleted;
}
